]> dgit.raspbian.org Git - gnome-shell.git/commit
status/bluetooth: Clear list of connected signals on adapter changes
authorJonas Dreßler <verdre@v0yd.nl>
Thu, 24 Feb 2022 18:35:06 +0000 (19:35 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sat, 26 Feb 2022 15:53:19 +0000 (15:53 +0000)
commiteeabdd150c70ff003a5cca60039ec8f2c4e5dbd0
tree450eb1ae4f5ef6e62f016242a6b84359a67ac79a
parent94d9264d96d05d0796898b15f9f11db26f5599a4
status/bluetooth: Clear list of connected signals on adapter changes

With the porting of gnome-bluetooth to the new GListModel API the
behavior regarding removing adapters changed: It now no longer
guarantees to emit "device-removed" signals for the paired devices when
the adapter gets removed.

This means we need to do that ourselves now, so clear the list of
connected signals when the default adapter changes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2214>
js/ui/status/bluetooth.js